package yunquan.wang.modules.base.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import yunquan.wang.base.dao.springdata.BaseRepository;
import yunquan.wang.base.service.impl.BaseServiceImpl;
import yunquan.wang.modules.base.dao.RulesInfoDao;
import yunquan.wang.modules.base.entity.RulesInfo;
import yunquan.wang.modules.base.service.RulesInfoService;
/**
 *  RulesInfo Service层 实现
 *  @author 王云权  wangyunquan@gmail.com
 *  用生成器 生成于 2011-09-30 22:37
 *
 */
@Service("rulesInfoService")
@Transactional
public class RulesInfoServiceImpl extends BaseServiceImpl<RulesInfo>
		implements RulesInfoService {
	private RulesInfoDao rulesInfoDao;

	@Resource(name="rulesInfoDao")
	public void setDao(RulesInfoDao rulesInfoDao) {
		this.rulesInfoDao = rulesInfoDao;
	}

	public BaseRepository<RulesInfo, String> getDao() {
		return rulesInfoDao;
	}

 
}
